package com.example.common.Interface.product.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ProductVO {
    @Schema(description = "商品id")
    private Long id;
    @Schema(description = "SKU名称")
    private String name;
    @Schema(description = "商品描述")
    private String description;
    @Schema(description = "价格（分）")
    private Long price;
    @Schema(description = "商品图片")
    private String image;
    @Schema(description = "类目名称")
    private List<String> categories;
    @Schema(description = "品牌名称")
    private String brand;
    @Schema(description = "销量")
    private Integer sold;
    @Schema(description = "商品状态 1-正常，2-下架，3-删除")
    private Integer status;
}
